/**
 * 
 * @date 2025-08-19
 * @author exchenming
 * @Email 276490943@qq.com
 */
import { FormSchema } from '@/components/Form'
import { BasicColumn } from '@/components/Table'

export const tableColumns: BasicColumn[] = [
  { dataIndex: 'flowno', title: '', width: 80 },
  { dataIndex: 'callergatewayid', title: '', width: 80 },
  { dataIndex: 'starttime', title: '', width: 80 },
  { dataIndex: 'recRecordPath', title: '', width: 80 },
  { dataIndex: 'originRecName', title: '', width: 80 },
  { dataIndex: 'recordFileUrl', title: '', width: 80 },
  { dataIndex: 'recOssPath', title: '', width: 80 },
  { dataIndex: 'pushResult', title: '', width: 80 },
  { dataIndex: 'audioStatus', title: '录音状态', width: 80 },
  { dataIndex: 'createTime', title: '', width: 80 },
]

export const searchFormSchema: FormSchema[] = [
  {

    field: 'status',
    label: '状态',
    component: 'Select',
    defaultValue: 1,
    componentProps: { allowClear: true, options: [{ label: '启用', value: 1 }, { label: '禁用', value: 0 }] }
  }
]

export const editFormSchema: FormSchema[] = [
  { field: 'flowno', label: '', component: 'InputNumber', show: false },
  { field: 'callergatewayid', label: '', component: 'Input' },
  { field: 'starttime', label: '', component: 'Input' },
  { field: 'recRecordPath', label: '', component: 'Input' },
  { field: 'originRecName', label: '', component: 'Input' },
  { field: 'recordFileUrl', label: '', component: 'Input' },
  { field: 'recOssPath', label: '', component: 'Input' },
  { field: 'pushResult', label: '', component: 'Input' },
  { field: 'audioStatus', label: '录音状态', component: 'Input' },
  { field: 'createTime', label: '', component: 'Input' },
]